package com.yundasys.lab09springsecurity.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @PACKAGE_NAME: com.yundasys.lab09springsecurity.controller
 * @NAME: TestController
 * @USER: jiangta
 * @DATE: 2021/2/15
 * @TIME: 9:26 下午
 * @PROJECT_NAME: springboot-labs
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/test")
    public String test() {
        return "test";
    }

    @RequestMapping("/index")
    public String index() {
        return "index";
    }
}
